package com.gateway.dao;

import java.util.List;

import com.gateway.entity.User;

public interface IUserDao {

  public int add(User user);

  public void delete(int id);

  public void update(User user);

  public List<User> selectAll();

  public User selectById(int id);

  public User login(String username, String password);

  public User selectByName(String username);
}
